package com.epichust.bootuqc.service.impl;

import com.epichust.bootuqc.model.dao.Pmbf5WorkCellDao;
import com.epichust.bootuqc.model.entity.Pmbf5WorkCell;
import com.epichust.bootuqc.service.IPmbf5WorkCellService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * Description:
 *
 * @author:伦伦的电脑
 * @date: 2021/1/26 16:13
 */
@Service
@Transactional
public class Pmbf5WorkCellServiceImpl implements IPmbf5WorkCellService {
    @Autowired
    Pmbf5WorkCellDao pmbf5workcelldao;
    @Override
    public List<Pmbf5WorkCell> getAllPmbf5WorkCell(Map<String, Object> map) {
        return pmbf5workcelldao.getAllPmbf5WorkCell(map);
    }

    @Override
    public int insertPmbf5WorkCell(Pmbf5WorkCell pmbf5workcell) {
        return pmbf5workcelldao.insertPmbf5WorkCell(pmbf5workcell);
    }

    @Override
    public int updatePmbf5WorkCell(Pmbf5WorkCell pmbf5workcell) {
        return pmbf5workcelldao.updatePmbf5WorkCell(pmbf5workcell);
    }
}
